package com.fangzc.codegen.entity.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 表定义层。
 *
 * @author FANGZC-TB14
 * @since 2023-05-27
 */
public class TSysJob extends TableDef {

    public static final TSysJob sys_job = new TSysJob("sys_job");

    public QueryColumn job_id = new QueryColumn(this, "job_id");
    public QueryColumn job_name = new QueryColumn(this, "job_name");
    public QueryColumn job_group = new QueryColumn(this, "job_group");
    public QueryColumn invoke_target = new QueryColumn(this, "invoke_target");
    public QueryColumn cron_expression = new QueryColumn(this, "cron_expression");
    public QueryColumn misfire_policy = new QueryColumn(this, "misfire_policy");
    public QueryColumn concurrent = new QueryColumn(this, "concurrent");
    public QueryColumn status = new QueryColumn(this, "status");
    public QueryColumn create_by = new QueryColumn(this, "create_by");
    public QueryColumn create_time = new QueryColumn(this, "create_time");
    public QueryColumn update_by = new QueryColumn(this, "update_by");
    public QueryColumn update_time = new QueryColumn(this, "update_time");
    public QueryColumn remark = new QueryColumn(this, "remark");

    public QueryColumn[] default_columns = new QueryColumn[]{job_id, job_name, job_group, invoke_target, cron_expression, misfire_policy, concurrent, status, create_by, create_time, update_by, update_time, remark};
    public QueryColumn[] all_columns = new QueryColumn[]{job_id, job_name, job_group, invoke_target, cron_expression, misfire_policy, concurrent, status, create_by, create_time, update_by, update_time, remark};

    public TSysJob(String tableName) {
        super(tableName);
    }
}
